package org.flower.entity;

/**
 * 轮播图实体类
 *
 * @author Aizen
 * @date 2021/12/29
 */
public class Carousel {
    /**
     * 编号
     */
    private int id;
    /**
     * 轮播图片
     */
    private String image;
    /**
     * 图片链接
     */
    private String ahref;
    /**
     *顺序
     */
    private int serialNum;
    /**
     * 所属页面
     */
    private String page;


    /**
     * 链接类型（直链、商品链接
     * @return
     */
    private Integer linkType;

    public Integer getLinkType() {
        return linkType;
    }

    public void setLinkType(Integer linkType) {
        this.linkType = linkType;
    }

    public int getId() {
        return id;
    }

    public String getImage() {
        return image;
    }

    public String getAhref() {
        return ahref;
    }

    public int getSerialNum() {
        return serialNum;
    }

    public String getPage() {
        return page;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public void setAhref(String ahref) {
        this.ahref = ahref;
    }

    public void setSerialNum(int serialNum) {
        this.serialNum = serialNum;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public Carousel() { }

    public Carousel(int id, String image, String ahref, int serialNum, String page) {
        this.id = id;
        this.image = image;
        this.ahref = ahref;
        this.serialNum = serialNum;
        this.page = page;
    }
}
